﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;

namespace Qiang.Geometry
{
    public interface IMultiGeometry : IGeometry,IEnumerable<IGeometry>
    {


        #region 属性

        /// <summary>
        /// 几何图形个数
        /// </summary>
        int NumGeometries { get; }


        /// <summary>
        /// 所有几何图形
        /// </summary>
        IList<IGeometry> Geometries { get; }

        #endregion


        #region 方法

        /// <summary>
        /// 添加一个几何图形
        /// </summary>
        /// <param name="geometry"></param>
        void Add(IGeometry geometry);


        #endregion


    }
}
